/*
 * Hooman's idea
 */

public class NullClass {

	NullClass a() {
		return this;
	}

	NullClass b() {
		return null;
	}

	NullClass c() {
		return this;
	}

	public static void main(String[] args) {
		System.out.println("It's impossible to tell which method threw a NPE.");

		NullClass cl = new NullClass();

		cl.a().b().c();
	}
}
